package trss.bencode;

import java.io.Serializable;

public class BInteger implements BElement, Serializable {

    private static final long serialVersionUID = 2286529316092413575L;
    private long value;

    /**
     * @return the value
     */
    public long getValue() {
        return value;
    }

    /**
     * @param value the value to set
     */
    public void setValue(long value) {
        this.value = value;
    }

    /**
    * ${@inheritDoc}
    */
    @Override
    public String toString() {
        return "" + value;
    }    
}
